package com.dushiguang.findhoney.Utils.Iconfont;

import android.content.Context;
import android.graphics.Typeface;
import android.widget.TextView;

/**
 * Created by ex-dushiguang201 on 2015-11-19.
 */
public class SetIconFont {
    public static void initIconFont(Context context ,TextView textView) {
        Typeface font = Typeface.createFromAsset(context.getAssets(), "iconfont.ttf");
        if (textView != null) {
            textView.setTypeface(font);
        }
    }
}
